package com.wenjh.jdmzt.android.view;

import android.app.ProgressDialog;
import android.content.Context;

import com.wenjh.jdmzt.R;

public class MProgressDialog extends ProgressDialog {

	public MProgressDialog(Context context) {
		this(context, context.getString(R.string.dialog_progress));
	}
	
	public MProgressDialog(Context context, String s) {
		this(context, context.getString(R.string.dialog_title), s);
	}
	
	public MProgressDialog(Context context, String title, String msg) {
		super(context);
		setTitle(title);
		setMessage(msg);
		setCancelable(true);
	}

}
